package parkshop.pmcourse.service;

import java.util.List;

import parkshop.pmcourse.domain.Customer;
import parkshop.pmcourse.domain.Product;
import parkshop.pmcourse.domain.Shop;
import parkshop.pmcourse.domain.ShopOwner;
import parkshop.pmcourse.dto.PageBean;

public interface SearchService {
	
	Product searchProductById(int id);
	List<Product> searchProductByName(String name);
	PageBean searchPageProductByName(String name,int pageNumber);
	
	Customer searchCustomerById(int id);
	Customer searchCustomerByName(String name);
	
	Shop searchShopById(int id);
	List<Shop> searchShopByName(String name);
	
	ShopOwner searchShopOwnerById(int id);
	ShopOwner searchShopOwnerByName(String name);

}
